package com.cby.android.base.capture

import android.app.Service
import android.content.Intent
import android.os.IBinder
import androidx.core.app.NotificationCompat
import com.cby.android.base.MyApplication.Companion.SCREEN_CAPTURE_CHANNEL_ID

/**
 * @description: CaptureService
 * @author: ChenBaoYang
 * @createDate: 2022/7/21 10:33 上午
 */
class CaptureService : Service() {

    override fun onCreate() {
        super.onCreate()
        startForeground(1, NotificationCompat.Builder(this, SCREEN_CAPTURE_CHANNEL_ID).build())
    }
    override fun onBind(intent: Intent?) = null
}